<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    

    <title>第 5 页 | 钱猛的个人博客</title>
    <meta name="author" content="钱猛">
    
    <meta name="description" content="钱猛的个人博客。全栈发展向。无所谓做什么，只要是当前最感兴趣的事！随心、随性、随缘！">
    
    
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    
    <meta property="og:site_name" content="钱猛 &amp; 博客"/>

    
    <meta property="og:image" content="undefined"/>
    

    <link rel="icon" type="image/png" href="/qianmeng/favicon.png">
    <link rel="alternate" href="/qianmeng/atom.xml" title="钱猛 &amp; 博客" type="application/atom+xml">
    <link rel="stylesheet" href="/qianmeng/css/lib/materialize.min.css">
    <link rel="stylesheet" href="/qianmeng/css/lib/font-awesome.min.css">
    <link rel="stylesheet" href="/qianmeng/css/style.css" media="screen" type="text/css">

    
        <link rel="stylesheet" href="/qianmeng/css/lib/prettify-tomorrow-night-eighties.css" type="text/css">
    
    <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?fc7f849e9fbb3ea12b2683af4ccaa000";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>


<body>
    <img src="/weixin_favicon.png" style="position: absolute; left: -9999px; opacity: 0; filter: alpha(opacity=0);">

    <nav class="indigo">
    <div class="nav-wrapper">
        <a href="#" data-activates="main-menu" class="button-collapse">
            <i class="fa fa-navicon"></i>
        </a>
        <div class="">
            <a href="/" class="brand-logo hide-on-med-and-down">钱猛 &amp; 博客 | 
			<span style="color:#E91E63;font-size:18px;">
			<i class="fa fa-flag"></i><span id="busuanzi_value_site_pv"></span>. 
			<i class="fa fa-user"></i><span id="busuanzi_value_site_uv"></span>
			</span> 
			</a> 
            <ul class="right hide-on-med-and-down">
                
                    <li>
                        <a class="menu-home " href="/qianmeng" >
                            <i class="fa fa-home "></i>
                            
                            首页
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-archive " href="/qianmeng/archives" >
                            <i class="fa fa-archive "></i>
                            
                            归档
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-category category-menu" href="javascript:;" data-activates="category-menu" >
                            <i class="fa fa-bookmark "></i>
                            
                            分类
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-tag " href="/qianmeng/tags" >
                            <i class="fa fa-tag "></i>
                            
                            标签
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-reading " href="/qianmeng/reading" >
                            <i class="fa fa-book "></i>
                            
                            读书
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-about " href="/qianmeng/about" >
                            <i class="fa fa-user "></i>
                            
                            关于
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-search modal-trigger " href="#search" >
                            <i class="fa fa-search "></i>
                            
                            搜索
                        </a>
                    </li>
                
            </ul>
            <div>
    <ul class="side-nav indigo darken-1" id="main-menu">
        
        <li class="side-user">
            <div class="row">
                <div class="col s4 no-padding">
                    <img class="avatar-image circle responsive-img" src="https://raw.githubusercontent.com/qianmeng/resources/master/head.jpg" alt="User Avatar">
                </div>
                <div class="info col s8 valign-wrapper no-padding">
                    <div class="valign">
                        <p class="name">钱猛</p>
                        <p class="desc">全栈工程师</p>
                    </div>
                </div>
            </div>
        </li>
        

        
            <li class="no-padding">
                <a class="waves-effect menu-home " href="/qianmeng" >
                    <i class="fa fa-home "></i>
                    
                    首页
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-archive " href="/qianmeng/archives" >
                    <i class="fa fa-archive "></i>
                    
                    归档
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-category category-menu" href="javascript:;" data-activates="category-menu" >
                    <i class="fa fa-bookmark "></i>
                    
                    分类
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-tag " href="/qianmeng/tags" >
                    <i class="fa fa-tag "></i>
                    
                    标签
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-reading " href="/qianmeng/reading" >
                    <i class="fa fa-book "></i>
                    
                    读书
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-about " href="/qianmeng/about" >
                    <i class="fa fa-user "></i>
                    
                    关于
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-search modal-trigger " href="#search" >
                    <i class="fa fa-search "></i>
                    
                    搜索
                </a>
            </li>
        
    </ul>

    <ul class="side-nav indigo darken-1" id="category-menu">
    

            

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/总结/">
                    总结 <span class="right">9 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/个人总结/">
                    个人总结 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/会展总结/">
                    会展总结 <span class="right">3 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/个人技能/">
                    个人技能 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/公司管理/">
                    公司管理 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/编程经验/">
                    编程经验 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/面试/">
                    面试 <span class="right">6 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/Android/">
                    Android <span class="right">3 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/Python/">
                    Python <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/web/">
                    web <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/前端/">
                    前端 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/前端/">
                    前端 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/前端/AngularJs/">
                    AngularJs <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/后台/">
                    后台 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Apache-CXF/">
                    Apache-CXF <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Apache-Http-Server/">
                    Apache-Http-Server <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Ehcache/">
                    Ehcache <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Hibernate/">
                    Hibernate <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/MetaQ/">
                    MetaQ <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/架构/">
                    架构 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/架构/Hexo/">
                    Hexo <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/量化交易/">
                    量化交易 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/Matlab/">
                    Matlab <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/股票/">
                    股票 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/爬虫/">
                    爬虫 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/期货/">
                    期货 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/数据库/">
                    数据库 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/数据库/PostGreSQL/">
                    PostGreSQL <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/Android/">
                    Android <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/Android/Vollery/">
                    Vollery <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/IOS/">
                    IOS <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/IOS/itms-services/">
                    itms-services <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/网络/">
                    网络 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/网络/互联网协议/">
                    互联网协议 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/工具分享/">
                    工具分享 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/工具分享/系统工具/">
                    系统工具 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/微信/">
                    微信 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/微信/帐号区别/">
                    帐号区别 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/星座/">
                    星座 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/星座/归类/">
                    归类 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/星座/性格/">
                    性格 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/美女/">
                    美女 <span class="right">17 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/美女/素人/">
                    素人 <span class="right">17 篇</span></a>
                </a>
            </li>

        

    </ul>
</div>

        </div>
    </div>
</nav>

<div id="search" class="modal search-modal">
    <div class="row">
        <div class="input-field col s12">
              <input id="search-input" type="text">
              <label for="search-input">搜索</label>
        </div>

    </div>
    <div id="search-result" class="search-result col s12">

    </div>
</div>


    <main>
        

<div class="slider">
    <ul class="slides">
    
       <li>
           <a href="http://blog.csdn.net/qian_meng" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_csdn.jpg">
               <div class="caption center-align">
                 <h4>CSDN 博客</h3>
                 <h5 class="light grey-text text-lighten-3">钱猛的CSDN 博客地址.</h5>
               </div>
           </a>
       </li>
    
       <li>
           <a href="https://github.com/qianmeng" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_github.jpg">
               <div class="caption left-align">
                 <h4>GitHub 地址</h3>
                 <h5 class="light grey-text text-lighten-3">钱猛的GitHub 地址.</h5>
               </div>
           </a>
       </li>
    
       <li>
           <a href="javascript:;" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_weixin.jpg">
               <div class="caption right-align">
                 <h4>微信公众号</h3>
                 <h5 class="light grey-text text-lighten-3">扫描二维码关注钱猛的微信公众号.</h5>
               </div>
           </a>
       </li>
    
   </ul>
 </div>


<div id="article-list" class="container main-container">
    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/09/07/金融分析之股票相关历史数据爬虫地址/">金融分析之股票相关历史数据爬虫地址</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-09-07T10:06:50.000Z"><a href="/qianmeng/2015/09/07/金融分析之股票相关历史数据爬虫地址/">2015-09-07</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Matlab/" class="chip pink lighten-1">Matlab</a>
        
            <a href="/qianmeng/tags/股票/" class="chip pink lighten-1">股票</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>网上大多数股票相关的数据获取都是基于框架或者是行情软件的接口获取的，今天看了FQuantToolBox，把相关的股票数据获取常用个爬虫地址列下、以后使用到其他的相关地址会继续补充（有了数据源，使用其他语言爬虫也可以同样获取到股票相关的历史数据）。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/09/07/金融分析之股票相关历史数据爬虫地址/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/09/07/Matlab实时监控股票交易数据之Timer函数应用实例/">Matlab实时监控股票交易数据之Timer函数应用实例</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-09-07T10:06:50.000Z"><a href="/qianmeng/2015/09/07/Matlab实时监控股票交易数据之Timer函数应用实例/">2015-09-07</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Matlab/" class="chip pink lighten-1">Matlab</a>
        
            <a href="/qianmeng/tags/量化/" class="chip pink lighten-1">量化</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>现在项目中有个需求要从股票开盘开始，实时监控指定股票（例如100只股票）的交易明细数据，这边明显要用到多线程进行处理每条股票的数据，查了下Matlab相关函数，竟然没有多线程的说法，网上说唯一一个多线实现方法就是Timer，好吧，既然只提供这个，那就没什么好说的了，就去研究下这个函数呗，但突然发现Timer只是一个定时处理数据，跟多线程有什么关系呢，后来发现是我误会了，人家Timer不仅提供定时，而且多个Timer是异步执行的（之前一直以为Matlab只存在单线程，所有数据处理都是串行机制），这样就能满足我的需求啦，然后进行实现，结果确实可以达到预期效果。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/09/07/Matlab实时监控股票交易数据之Timer函数应用实例/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/08/07/Vollery 框架之StringRequest二次封装/">Vollery 框架之StringRequest二次封装</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-08-07T10:06:50.000Z"><a href="/qianmeng/2015/08/07/Vollery 框架之StringRequest二次封装/">2015-08-07</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Android/" class="chip pink lighten-1">Android</a>
        
            <a href="/qianmeng/tags/Vollery/" class="chip pink lighten-1">Vollery</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>今天看了个讲Vollery框架的视频，其中有对StringRequest做了个简单封装的部分，感觉不错，但只是视频，搜了下，没搜到相关代码，（嘿嘿，平时做惯了伸手党），现在把视频中封装的地方整理了下，供大家参考下。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/08/07/Vollery 框架之StringRequest二次封装/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/07/01/WEB 面试题（J2EE开发）/">WEB 面试题（J2EE开发）</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-07-01T10:06:50.000Z"><a href="/qianmeng/2015/07/01/WEB 面试题（J2EE开发）/">2015-07-01</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/面试/" class="chip pink lighten-1">面试</a>
        
            <a href="/qianmeng/tags/J2EE/" class="chip pink lighten-1">J2EE</a>
        
    </div>



                
            </div>

            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/06/27/Apache  CXF 应用小结/">Apache  CXF 应用小结</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-06-27T10:06:50.000Z"><a href="/qianmeng/2015/06/27/Apache  CXF 应用小结/">2015-06-27</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Apache-CXF/" class="chip pink lighten-1">Apache  CXF</a>
        
            <a href="/qianmeng/tags/Java/" class="chip pink lighten-1">Java</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>最新项目中需要用到webservices发布接口，之前项目用的都是xfire，由于框架中Spring版本原因，xfire用不起来了，然后去搜了下，开源中国里找到了这段话：</p>
<blockquote>
<p>如果你要在新项目里用XFire，请改用CXF.CXF是XFire的延续，可以被看作是XFire2.0。CXF有很多新特性，且修复了很多XFire的bug，更重要的是CXF兼容JAX-WS！XFire将继续被维护和修复bug，但是新功能的开发都转移到了CXF上。详细信息请参考XFire/Celtix合并声明和CXF官网</p>
</blockquote>
<p>才发现xfire早在几年前就停止更新啦，转而替代产品是CXF（突然发现公司框架好老土！），学习了下CXF，发现确实好用，配置简单，调用方便，具体貌似还有一些强大的功能，暂时没用到，不去深究，下面来简单介绍下CXF的具体使用。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/06/27/Apache  CXF 应用小结/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/06/18/PostGreSQL 之服务器配置/">PostGreSQL 之服务器配置</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-06-18T10:06:50.000Z"><a href="/qianmeng/2015/06/18/PostGreSQL 之服务器配置/">2015-06-18</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/PostGreSQL/" class="chip pink lighten-1">PostGreSQL</a>
        
            <a href="/qianmeng/tags/数据库/" class="chip pink lighten-1">数据库</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>既然使用了PostGreSQL，仅仅知道写常规的SQL语句啦，视图啦，触发器啦等等，毕竟是主流数据库，所以这些和其他数据库系统基本上差不多，就连语法都几乎一样，不同的就属整个系统的架构和系统配置不同啦，这边不谈架构，现在的水平也没法谈，还是从使用的角度来看，谈谈常用的系统配置相关技术吧。</p>
<p>这边主要针对四部分来具体说说，服务器进程的启动和关闭、服务器基本参数相关配置、系统内存优化相关配置、常见问题参数举例。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/06/18/PostGreSQL 之服务器配置/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/06/17/PostGreSQL 结合 Hibernate 在项目中的使用小结/">PostGreSQL 结合 Hibernate 在项目中的使用小结</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-06-17T10:06:50.000Z"><a href="/qianmeng/2015/06/17/PostGreSQL 结合 Hibernate 在项目中的使用小结/">2015-06-17</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Hibernate/" class="chip pink lighten-1">Hibernate</a>
        
            <a href="/qianmeng/tags/PostGreSQL/" class="chip pink lighten-1">PostGreSQL</a>
        
            <a href="/qianmeng/tags/数据库/" class="chip pink lighten-1">数据库</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>我本人是从事J2EE开发的，一提到J2EE开发，估计大家第一想到的就是SSH三层架构，当然现在已经不一定是这样的了，也有SSI，也有SpringMVC框架等等，其中ORM这个技术在开发中是肯定会用到的，毕竟是一种里程碑的技术，这里只介绍下Hibernate与PostGreSQL的结合使用。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/06/17/PostGreSQL 结合 Hibernate 在项目中的使用小结/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/06/12/PostGreSQL - 对象关系数据库系统（ORDBMS）初探/">PostGreSQL - 对象关系数据库系统（ORDBMS）初探</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-06-12T10:06:50.000Z"><a href="/qianmeng/2015/06/12/PostGreSQL - 对象关系数据库系统（ORDBMS）初探/">2015-06-12</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/PostGreSQL/" class="chip pink lighten-1">PostGreSQL</a>
        
            <a href="/qianmeng/tags/数据库/" class="chip pink lighten-1">数据库</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>PostGreSQL 是一个 对象关系数据库系统（ORDBMS），对象关系数据库？之前只听过关系关数据（SQL Server、Oracle、MySql等等），非关系型数据库（MongoDB、CouchDB、Hbase、Redis等等），个人理解非关系型数据库就是对象数据库，从数据库类型上来看，PostGreSQL是主流的俩类数据库的结合呀，瞬间感觉高大上起来啦，后来了解到PostGreSQL早在1987年就被正式发布使用来（当时我还没出生~~~），关键是它是类似MySQL的一个开源数据库，而且关于它的论坛很多，真实不看不知道，一看吓一跳，瞬间感觉好落伍，决定好好学习学习。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/06/12/PostGreSQL - 对象关系数据库系统（ORDBMS）初探/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/06/07/Matlab处理Timer工具函数/">Matlab处理Timer工具函数</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-06-07T10:06:50.000Z"><a href="/qianmeng/2015/06/07/Matlab处理Timer工具函数/">2015-06-07</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Matlab/" class="chip pink lighten-1">Matlab</a>
        
            <a href="/qianmeng/tags/量化/" class="chip pink lighten-1">量化</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>这边主要是提供一个处理Timer的工具函数，这个函数用来启动、停止和删除Timer对象<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/06/07/Matlab处理Timer工具函数/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2015/05/27/Apache Http Server 解决不同域名共用服务器80端口问题/">Apache Http Server 解决不同域名共用服务器80端口问题</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2015-05-27T10:06:50.000Z"><a href="/qianmeng/2015/05/27/Apache Http Server 解决不同域名共用服务器80端口问题/">2015-05-27</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/Apache-Http-Server/" class="chip pink lighten-1">Apache Http Server</a>
        
            <a href="/qianmeng/tags/服务/" class="chip pink lighten-1">服务</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <p>今天部署网站时，用户突然说他们只有一台服务器，一个公网IP，而且现在服务器上已经有一个发布中的网站（显然80端口已被占用），让我们想想办法怎么样才能部署我们的项目到他们服务器上，而且使用同一台服务器，同一个公网IP，第一次遇到这种需求，开始觉得肯定实现不了，但后来百度下，竟然真有方法解决这种问题，强大的代理，发现代理可以实现nginx，Apache Http Server，或者直接在IIS上进行修改配置（不通用，不考虑），大体看了下，感觉Apache Http Server使用起来非常简单，就决定使用它啦，首先在本地进行了一次模拟环境测试，过程中也遇到了一些问题，现在把配置过程记录下来，供遇到同样问题的朋友参考。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2015/05/27/Apache Http Server 解决不同域名共用服务器80端口问题/">READ MORE</a>
            </div>
            
        </div>
</article>

    

    <ul class="pagination center-align">
    <li class="">
        <a href="/qianmeng/page/4/"><i class="fa fa-angle-left"></i></a>
    </li>
    
    
        <li class="waves-effect"><a href="/">1</a></li>
    
        <li class="waves-effect"><a href="/page/2">2</a></li>
    
        <li class="waves-effect"><a href="/page/3">3</a></li>
    
        <li class="waves-effect"><a href="/page/4">4</a></li>
    
        <li class="active pink"><a href="/page/5">5</a></li>
    
        <li class="waves-effect"><a href="/page/6">6</a></li>
    
    
    <li class="">
        <a href="/qianmeng/page/6/"><i class="fa fa-angle-right"></i></a>
    </li>
 </ul>

	
</div>

        <div class="fixed-action-btn float-sitemap">
    <a class="btn-floating btn-large pink">
      <i class="fa fa-caret-square-o-up"></i>
    </a>
    <ul>
      <li><a class="btn-return-top btn-floating waves-effect green" title="回到顶部"><i class="fa fa-arrow-circle-o-up"></i></a></li>
      <li><a class="btn-floating waves-effect button-collapse yellow darken-1"  data-activates="main-menu" title="menu"><i class="fa fa-navicon"></i></a></li>
    </ul>
  </div>

    </main>
    <footer class="page-footer indigo darken-1">
    
    <div class="container">
        <div class="row">
            
            <div class="social-group col m3 s12">
                <h5 class="white-text">社交</h5>
                
                    <a class="social-link" href="https://github.com/qianmeng" target="_blank">
                        <i class="fa fa-2x fa-github"></i>
                    </a>
                
                    <a class="social-link" href="http://weibo.com/u/1819068247" target="_blank">
                        <i class="fa fa-2x fa-weibo"></i>
                    </a>
                
                    <a class="social-link" href="/atom.xml" target="_blank">
                        <i class="fa fa-2x fa-rss"></i>
                    </a>
                
            </div>
            

            
            <div class="col m9 s12">
                <h5 class="white-text">友情链接</h5>
                
                    <a class="social-link" href="http://blog.csdn.net/qian_meng" target="_blank">CSDN 地址</a>
                
                    <a class="social-link" href="https://github.com/qianmeng" target="_blank">Github地址</a>
                
            </div>
            
        </div>
    </div>
    

    <div class="footer-copyright pink-link-context">
        <div class="container">
            © 2016  All rights reserved. 
        </div>
    </div>
</footer> 
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>


    <noscript>
    <div class="noscript">
        <p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能，请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
    </div>
</noscript>
<div class="noscript">
    <p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能，请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
</div>


<script src="/qianmeng/js/jquery-2.1.1.min.js"></script>
<script src="/qianmeng/js/materialize.min.js"></script>

<script>
    (function($) {
        $(document).ready(function() {
            // 隐藏禁用javascript（针对微信内置浏览器）的提示
            $('.noscript').hide();

            // 图片缩放效果
            var $imgs = $('img').not('.slider-image').not('.avatar-image').not('.carousel-image').not('.card-cover-image').not('.qrcode');

            // 给图片加上点击放大效果（materialbox插件）
            $imgs.addClass('materialboxed').each(function(i, el) {
                $(this).attr('data-caption', $(this).attr('alt') || ' ');
            }).materialbox();

            // 优化表格的显示
            $('table').each(function() {
                var $table = $(this);
                // 除去多行代码的情况
                if ($table.find('pre').length == 0) {
                    $table.addClass('responsive-table striped bordered');
                }
            });

            // 首页幻灯片
            $('.slider').slider({indicators: true, full_width: true, interval: 8000});

            $(".button-collapse").sideNav();
            $(".category-menu").sideNav();

            // 针对gallery post
            $('.carousel').carousel({full_width: true});
            $('.carousel-control.prev').click(function() {
                $('.carousel').carousel('prev');
            });
            $('.carousel-control.next').click(function() {
                $('.carousel').carousel('next');
            });

            // 文章目录
            $('article').not('.simple-article').find('h1').add('h2').add('h3').add('h4').add('h5').add('h6').scrollSpy();
            // 修正文章目录的left-border颜色
            var color = $('.table-of-contents-text').css('color');
            $('.table-of-contents-link').css('border-left-color', color);

            // 针对移动端做的优化：FAB按钮点击一下收回
            if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
                $('.fixed-action-btn').addClass('click-to-toggle');
            }
            // 回到顶部
            $('.btn-return-top').click(function() {
                $('body, html').animate({
                    scrollTop: 0
                }, 500);
            });

            // 重置读书页面的Tab标签页的颜色
            $('li.tab a').hover(function() {
                $(this).toggleClass('text-lighten-4');
            });
            $('.indicator').addClass('pink lighten-2');

            
            // 添加new标签
            $('.menu-search').append('<span class="new badge pink"></span>');
            

            // 搜索功能
            $('.modal-trigger').leanModal();
            var searchXml = "search.xml";
            if (searchXml.length == 0) {
             	searchXml = "search.xml";
            }
            var searchPath = "/qianmeng/" + searchXml;
            initSearch(searchPath, 'search-input', 'search-result');
        });

        // 初始化搜索与匹配函数
        var initSearch = function(path, search_id, content_id) {
            'use strict';
            $.ajax({
                url: path,
                dataType: "xml",
                success: function(xmlResponse) {
                    // get the contents from search data
                    var datas = $("entry", xmlResponse).map(function() {
                        return {
                            title: $("title", this).text(),
                            content: $("content", this).text(),
                            url: $("url", this).text()
                        };
                    }).get();
                    var $input = document.getElementById(search_id);
                    var $resultContent = document.getElementById(content_id);
                    $input.addEventListener('input', function() {
                        var str = '<ul class=\"search-result-list\">';
                        var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                        $resultContent.innerHTML = "";
                        if (this.value.trim().length <= 0) {
                            return;
                        }
                        // perform local searching
                        datas.forEach(function(data) {
                            var isMatch = true;
                            var content_index = [];
                            var data_title = data.title.trim().toLowerCase();
                            var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                            var data_url = data.url;
                            var index_title = -1;
                            var index_content = -1;
                            var first_occur = -1;
                            // only match artiles with not empty titles and contents
                            if (data_title != '' && data_content != '') {
                                keywords.forEach(function(keyword, i) {
                                    index_title = data_title.indexOf(keyword);
                                    index_content = data_content.indexOf(keyword);
                                    if (index_title < 0 && index_content < 0) {
                                        isMatch = false;
                                    } else {
                                        if (index_content < 0) {
                                            index_content = 0;
                                        }
                                        if (i == 0) {
                                            first_occur = index_content;
                                        }
                                    }
                                });
                            }
                            // show search results
                            if (isMatch) {
                                keywords.forEach(function(keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    data_title = data_title.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
                                });

                                str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                                var content = data.content.trim().replace(/<[^>]+>/g, "");
                                if (first_occur >= 0) {
                                    // cut out 100 characters
                                    var start = first_occur - 20;
                                    var end = first_occur + 80;
                                    if (start < 0) {
                                        start = 0;
                                    }
                                    if (start == 0) {
                                        end = 100;
                                    }
                                    if (end > content.length) {
                                        end = content.length;
                                    }
                                    var match_content = content.substring(start, end);
                                    // highlight all keywords
                                    keywords.forEach(function(keyword) {
                                        var regS = new RegExp(keyword, "gi");
                                        match_content = match_content.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
                                    });

                                    str += "<p class=\"search-result\">..." + match_content + "...</p>"
                                }
                                str += "</li>";
                            }
                        });
                        str += "</ul>";
                        $resultContent.innerHTML = str;
                    });
                }
            });
        }
    })(jQuery);
</script>


<script src="/qianmeng/js/prettify.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $("pre").addClass("prettyprint");
        prettyPrint();
    });
</script>




<script type="text/javascript" src="http://tajs.qq.com/stats?sId=56073371" charset="UTF-8"></script>



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" async
  src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>



	<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"145"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

</body>
</html>
